[INFO] cloning repository https://github.com/serxka/pros-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/serxka/pros-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fserxka%2Fpros-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fserxka%2Fpros-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0e5c6492f1b7fef6d0ab6a6b9b15524ee3888bd5
[INFO] building serxka/pros-rs against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fserxka%2Fpros-rs" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/serxka/pros-rs on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-3/source/.cargo/config
[INFO] removed /workspace/builds/worker-3/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/serxka/pros-rs
[INFO] finished tweaking git repo https://github.com/serxka/pros-rs
[INFO] tweaked toml for git repo https://github.com/serxka/pros-rs written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/serxka/pros-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a43e53de859d4eade7c4c0852c8cedbfb09ceae7ce7f4de323545d4bac74532a
[INFO] running `Command { std: "docker" "start" "-a" "a43e53de859d4eade7c4c0852c8cedbfb09ceae7ce7f4de323545d4bac74532a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a43e53de859d4eade7c4c0852c8cedbfb09ceae7ce7f4de323545d4bac74532a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a43e53de859d4eade7c4c0852c8cedbfb09ceae7ce7f4de323545d4bac74532a", kill_on_drop: false }`
[INFO] [stdout] a43e53de859d4eade7c4c0852c8cedbfb09ceae7ce7f4de323545d4bac74532a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8d52228ff4424ebbabb8e6aa616092efa80dc9bf328aa9ff8315087f836ca3ac
[INFO] running `Command { std: "docker" "start" "-a" "8d52228ff4424ebbabb8e6aa616092efa80dc9bf328aa9ff8315087f836ca3ac", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.33
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling crc32fast v1.3.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling clang-sys v1.3.0
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling libloading v0.7.2
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling bindgen v0.59.2
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling which v4.2.5
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling flate2 v1.0.22
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling shlex v1.1.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling paste v1.0.7
[INFO] [stderr]    Compiling smallvec v1.7.0
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling math v0.1.0 (/opt/rustwide/workdir/math)
[INFO] [stderr]    Compiling zip v0.5.13
[INFO] [stderr]    Compiling libc-print v0.1.17
[INFO] [stderr]    Compiling pros v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/devices/controller.rs:110:47
[INFO] [stdout]     |
[INFO] [stdout] 110 |             controller_set_text(self.id, line, column, cstring.as_ptr());
[INFO] [stdout]     |             -------------------                        ^^^^^^^^^^^^^^^^ expected `i8`, found `u8`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected raw pointer `*const i8`
[INFO] [stdout]                found raw pointer `*const u8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/pros-9ce3afee2e460bcb/out/bindings.rs:3:91381
[INFO] [stdout]     |
[INFO] [stdout] 3   | ...e operation"] # [doc = " failed, setting errno."] pub fn controller_set_text (id : controller_id_e_t , line : u8 , col : u8 , str_ : *...
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/devices/controller.rs:152:31
[INFO] [stdout]     |
[INFO] [stdout] 152 |             controller_rumble(self.id, cstr.as_ptr());
[INFO] [stdout]     |             -----------------          ^^^^^^^^^^^^^ expected `i8`, found `u8`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected raw pointer `*const i8`
[INFO] [stdout]                found raw pointer `*const u8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/pros-9ce3afee2e460bcb/out/bindings.rs:3:94636
[INFO] [stdout]     |
[INFO] [stdout] 3   | ...he operation"] # [doc = " failed, setting errno."] pub fn controller_rumble (id : controller_id_e_t , rumble_pattern : * const libc ::...
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0605]: non-primitive cast: `&[i8]` as `&[u8]`
[INFO] [stdout]   --> src/rtos.rs:36:16
[INFO] [stdout]    |
[INFO] [stdout] 36 |             let slice = core::slice::from_raw_parts(name, libc::strlen(name)) as &[u8];
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/rtos.rs:118:5
[INFO] [stdout]     |
[INFO] [stdout] 113 |             let res = bindings::task_create(
[INFO] [stdout]     |                       --------------------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 118 |                 name.as_ptr(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ expected `i8`, found `u8`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected raw pointer `*const i8`
[INFO] [stdout]                found raw pointer `*const u8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/pros-9ce3afee2e460bcb/out/bindings.rs:3:148827
[INFO] [stdout]     |
[INFO] [stdout] 3   | ...or hints as"] # [doc = " to why task_create failed."] pub fn task_create (function : task_fn_t , parameters : * mut libc :: c_void , p...
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0605.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pros` due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "8d52228ff4424ebbabb8e6aa616092efa80dc9bf328aa9ff8315087f836ca3ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d52228ff4424ebbabb8e6aa616092efa80dc9bf328aa9ff8315087f836ca3ac", kill_on_drop: false }`
[INFO] [stdout] 8d52228ff4424ebbabb8e6aa616092efa80dc9bf328aa9ff8315087f836ca3ac
